package com.hqyj.finance.server.users.financeusers.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.finance.server.users.financeusers.entity.Roles;
import com.hqyj.finance.server.users.financeusers.entity.UsersRoles;

import java.util.List;

public interface UsersRolesService extends IService<UsersRoles> {

    //根据用户的编号查询用户的角色的集合
    List<Roles> queryUserRolesListByUid(Integer uid);

    boolean updateUserRolesListByUid(Integer uid,List<UsersRoles> usersRoles)  throws Exception;
}
